package com.jeasonzhao.commons.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(
    {ElementType.TYPE,ElementType.FIELD,ElementType.METHOD})
public @interface Dictionary
{
    public String value() default "";

    public String dictTypeId() default "";
    public String dictCategory() default "";

    public String pojo() default "";
    public String idField() default "id";
    public String nameField() default "name";
    public String parentIdField() default "parentId";

    public String items() default "";
    public String title() default "";
    public String width() default "";

    public boolean enumName() default true;
}
